<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>V3系统管理平台</title>
    
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            background: #f8f9fa;
            min-height: 100vh;
            line-height: 1.6;
            color: #333;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .header {
            text-align: center;
            margin-bottom: 50px;
        }

        .logo {
            font-size: 2.8rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 10px;
            letter-spacing: -1px;
        }

        .subtitle {
            font-size: 1.1rem;
            color: #6c757d;
            margin-bottom: 8px;
        }

        .version {
            font-size: 0.85rem;
            color: #adb5bd;
            background: #e9ecef;
            padding: 4px 12px;
            border-radius: 12px;
            display: inline-block;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            width: 100%;
            max-width: 700px;
            margin-bottom: 40px;
        }

        .login-section {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
            padding: 40px 30px;
            text-align: center;
        }

        .info-section {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
            padding: 40px 30px;
        }

        .login-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .login-desc {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .info-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
        }

        .info-icon {
            margin-right: 8px;
            font-size: 1.1rem;
        }

        .info-list {
            list-style: none;
        }

        .info-item {
            padding: 8px 0;
            font-size: 0.9rem;
            color: #495057;
            border-bottom: 1px solid #f1f3f4;
            display: flex;
            align-items: center;
        }

        .info-item:last-child {
            border-bottom: none;
        }

        .info-item::before {
            content: "•";
            color: #007bff;
            margin-right: 10px;
            font-weight: bold;
        }

        .btn {
            display: inline-block;
            padding: 14px 28px;
            text-decoration: none;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.2s ease;
            width: 100%;
        }

        .btn-primary {
            background: #007bff;
            color: white;
        }

        .btn-primary:hover {
            background: #0056b3;
            transform: translateY(-1px);
        }

        .footer {
            text-align: center;
            margin-top: auto;
            padding-top: 30px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
        }

        .footer-link {
            color: #6c757d;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease;
        }

        .footer-link:hover {
            color: #007bff;
        }

        .copyright {
            font-size: 0.8rem;
            color: #adb5bd;
        }

        .status-bar {
            background: white;
            border-radius: 8px;
            padding: 15px 20px;
            margin-bottom: 30px;
            box-shadow: 0 1px 10px rgba(0,0,0,0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 700px;
        }

        .status-item {
            display: flex;
            align-items: center;
            font-size: 0.85rem;
            color: #495057;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 8px;
        }

        .status-online {
            background: #28a745;
        }

        .status-offline {
            background: #dc3545;
        }

        @media (max-width: 768px) {
            .container {
                padding: 20px 15px;
            }
            
            .logo {
                font-size: 2.2rem;
            }

            .main-content {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .login-section,
            .info-section {
                padding: 30px 20px;
            }

            .footer-links {
                flex-direction: column;
                gap: 10px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 页面标题 -->
        <div class="header">
            <h1 class="logo">V3系统</h1>
            <p class="subtitle">企业级微服务管理平台</p>
            <span class="version">v1.0.0</span>
        </div>

        <!-- 系统状态 -->
        <div class="status-bar">
            <div class="status-item">
                <span class="status-dot status-online"></span>
                认证服务：在线
            </div>
            <div class="status-item">
                <span class="status-dot status-online"></span>
                系统服务：在线
            </div>
            <div class="status-item">
                <span class="status-dot status-online"></span>
                网关服务：在线
            </div>
        </div>

        <!-- 主要内容 -->
        <div class="main-content">
            <!-- 登录区域 -->
            <div class="login-section">
                <h2 class="login-title">用户登录</h2>
                <p class="login-desc">使用OAuth2安全认证协议登录系统</p>
                <a href="http://localhost:8992/login?client_secret=secret&client_id=v3-client&redirect_uri=http://localhost:8991/oauth2/callback&scope=read write" class="btn btn-primary">
                    OAuth2登录
                </a>
            </div>

            <!-- 系统信息 -->
            <div class="info-section">
                <h3 class="info-title">
                    <span class="info-icon">ℹ️</span>
                    系统信息
                </h3>
                <ul class="info-list">
                    <li class="info-item">基于Spring Cloud微服务架构</li>
                    <li class="info-item">支持OAuth2.0标准认证</li>
                    <li class="info-item">集成Nacos服务发现</li>
                    <li class="info-item">Redis分布式缓存</li>
                    <li class="info-item">MySQL数据持久化</li>
                </ul>
            </div>
        </div>

        <!-- 页脚 -->
        <div class="footer">
            <div class="footer-links">
                <a href="#" class="footer-link">使用指南</a>
                <a href="#" class="footer-link">API文档</a>
                <a href="#" class="footer-link">技术支持</a>
                <a href="#" class="footer-link">关于我们</a>
            </div>
            <p class="copyright">© 2024 V3系统管理平台. All rights reserved.</p>
        </div>
    </div>
</body>
</html> 